
// 滚动条样式
.scroll-bar {
  background-color: white;
}

&::-webkit-scrollbar {
  width: 12px;
}

&::-webkit-scrollbar-track {
  background-color: #e6e6e6;
}

&::-webkit-scrollbar-thumb {
  height: 10px;
  border-radius: 6px;
  background-color: #d0d0d0;
  // border-left: 1px solid #EEE;
  // border-top: 1px solid #EEE;
}

// 头部栏目
ul{ margin: 0}
.category {
  height: 50px;
  color: #333;
  background: #f8f8f8;
  padding-left: 24px;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
  ul {
    margin: 0; 
    li {
      width: 100px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      font-size: 16px;
      color: #333;
      float: left;
      margin-top: 10px;
      margin-right: 8px;
      border-radius: 14px;
      cursor: pointer;
      &.active {
        color: #fff;
        background: #fa3d41;
      }
    }
  }  
}

.showDiv {
  height: calc(~"100% - 20px");
  overflow-y: auto; 
}

// 内容区
.cont{
  display: flex;
  line-height: 1;
  background: #fff;
}

.cont-left{
  flex: 1;
  background: #fff;
  box-sizing: content-box;
  border-right: 1px solid #e2e2e2;
  .no-service {
    margin-top: 30%;
    text-align: center;
    font-size: 18px;
    color: #666;
    line-height: 1.4;
    span {
      color: #2EACFF;
    }
  }
  .section{
    padding: 20px 20px 0;
    .section-title{
      font-size: 24px;
      overflow: hidden;
      word-wrap: none;
      img{
        vertical-align: -3px;
      }
    }
    .section-sub{
      font-size: 14px;
      color: #999;
      margin-left: 2px;
    }
    ul{
      &:after{
        content: '';
        display: block;
        clear: both;
      }
      li{
        float: left;
        width: 240px;
        padding: 12px 12px 16px 12px;
        margin:15px 12px 16px 0;
        border: 1px solid #e2e2e2;
        &:hover{
          // border: 1px solid #fff;
          border: none;
          margin: 15px 12px 18px 0;
          box-shadow: 0 0 20px rgba(0, 124, 225, 0.2);
        }
        .thumb{
          position: relative;
          width: 216px;
          border: 1px solid #e2e2e2;
          height: 111.46px;
          .thumb-img{
            width: 214px;
            height: 111.46px;
            cursor: pointer;
          }
          .start{
            display: none;
            position: absolute;
            left: calc(~"50% - 20px");
            top: calc(~"50% - 20px");
          }
        }
        .title{
          font-size: 16px;
          font-family: "微软雅黑";
          line-height: 22px;
          color: #000;
          margin-top: 6px;
          cursor: pointer;
          min-height: 44px;
        }
        .time{
          font-size: 14px;
          color: #666;
          font-family: "微软雅黑";
          margin-top: 8px;
          span{
            margin-left: 8px;
          color: #999;
          }
        }
      }
    }
    &:last-child {
      margin-bottom: 30px;
    }
  }
}

.cont-right{
  width: 480px;
  // height: 100%;
  background: #f2f2f2;
  // overflow-y: auto; 
}
.right-title{
  font-size: 24px;
  padding: 20px;
  border-bottom: 1px solid #e2e2e2;
  &.no-border{
    padding: 20px 20px 0;
    border: none;
  }
  i{
    display: inline-block;
    height: 20px;
    width: 6px;
    background: #fa3d41;
    margin-right: 8px;
    border-radius: 3px;
    vertical-align: -2px;
  }
}

.example-list{
  background: #fff;
  // border-left: 1px solid #e2e2e2;
  li{
    display: flex;
    box-sizing: border-box;
    position: relative;
    padding: 12px 20px 20px;
    border-bottom: 1px solid #e2e2e2;
    .left{
      width: 404px;
      .title{
        font-size: 18px;
        line-height: 25px;
        cursor: pointer;
      }
      .time{
        font-size: 14px;
        color: #999;
        position: absolute;
        bottom: 20px;
        left: 20px;
      }
    }
    .right{
      position: relative;
      margin-left: 10px;
      padding-top: 4px;
      cursor: pointer;
        .thumb-img{
          width: 105.3px;
          height: 78px;
          border-radius: 6px;
          border: 1px solid #e2e2e2;
        }
        .start{
          display: none;
          position: absolute;
          left: calc(~"50% - 15px");
          top: calc(~"50% - 15px");
        }
      // }
    }
    &:hover {
      background-color: #f8f8f8;
    }
  }
}

.hot-class{
  margin-top: 16px;
  background: #fff;
  // border-left: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
  margin-bottom: 30px;
  ul{
    overflow: hidden;
    padding: 16px 20px;
    li{
      float: left;
      width: 200px;
      margin-bottom: 12px;
      margin-left: 28px;
      &:nth-child(2n-1){
        margin-left: 0;
      }
      .thumb{
        position: relative;
        width: 204px;
        .thumb-img{
          width: 204px;
          height: 106.25px;
          border-radius: 6px;
          border: 1px solid #e2e2e2;
          overflow: hidden;
          cursor: pointer;
        }
        .start{
          display: none;
          position: absolute;
          left: calc(~"50% - 20px");
          top: calc(~"50% - 20px");
          cursor: pointer;
        }
      }
      .title{
        color: #666;
        font-size: 16px;
        line-height: 20px;
        margin-top: 4px;
        height: 40px;
        cursor: pointer;
      }
      &:hover{
        // border: 1px solid #fff;
        .title{
          color: #333;
        }
        .thumb {
          box-shadow: 0 0 20px rgba(0, 124, 225, 0.2);
        }
      }
    }
  }
}


.news {
  display: flex;
  background: #fff;
  color: #333;
  height: calc(~"100% - 30px");
}
.news-list {
  width: 576px; 
  flex-flow: column;
  height: 100%;
  overflow-y: auto; 
  .banners {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e2e2;
  }
  li {
    display: flex;    
    box-sizing: border-box;
    position: relative;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e2e2;
    .left {
      width: 390px;
      .title {
        font-size: 20px; 
        line-height: 30px;
        cursor: pointer;
      }
      .time {
        font-size: 14px;
        color: #999;
        position: absolute;
        bottom: 16px;
        left: 24px;
      }
    }
    .right {
      flex: auto;
      margin-left: 16px;
      position: relative;
      cursor: pointer;
      .thumb { 
        width: 122px;
        height: 92px;
      }
      .start {
        display: none;
        position: absolute;
        left: 46px;
        top: 30px;
      }
    }
  }
}

.news-content {
  flex: 1;
  box-sizing: border-box;
  padding: 16px 24px;
  border-left: 1px solid #e2e2e2;
  height: 100%;
  overflow-y: auto;   
  .title {
    font-size: 24px;
    color: #333;
  }
  .time {
    font-size: 14px;
    color: #999;
    padding-top: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e2e2;
  }
  .video{
    margin-top: 20px;
    margin-bottom: 6px;
    .show{
      width: 652px;
      height: 285px;
    }
  }
  .article {
    font-size: 16px;
    line-height: 30px;
    p {
      margin-bottom: 26px;
    }
  }

}
